package com.zhongyewx.teachercert.api;

import com.zhongyewx.teachercert.BuildConfig;

public class ZYConstants {

    public static final String APP_ROOT_DIRECTORY = "ZYWXTC";
    public static final String APP_LOG_DIRECTORY = "Log";
    public static final int APP_ID = 39;

    public static String TC_API_URL = "https://apianzhuozhongye.zhongye.net/api/";//正式站点---Android   ios分开域名
    public static String TC_DOWNLOAD_API_URL = "https://www.zhongye.net";//正式站点--图片baseUrl

    static {
        //初始化测试站点
        if(!BuildConfig.IS_OFFICIAL_SITE){
            TC_API_URL = "http://apiwebsite.zhongyewx.com.cn/api/";//测试站点
            TC_DOWNLOAD_API_URL = "http://www.zhongyewx.com.cn";
        }
    }

    public static final String API_URL = TC_API_URL;

    public static final String DOWNLOAD_API_URL = TC_DOWNLOAD_API_URL;
}
